using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;
using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;

#if FRB_XNA || SILVERLIGHT
using Keys = Microsoft.Xna.Framework.Input.Keys;
using Vector3 = Microsoft.Xna.Framework.Vector3;
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;
#endif

namespace WinRos_Xna.Screens
{
	public partial class SplashScreen
	{
        double timeCalled;

		public void CustomInitialize()
		{

            SpriteManager.Camera.BackgroundColor = Microsoft.Xna.Framework.Graphics.Color.Black;
            SpriteManager.Camera.X = 0;
            SpriteManager.Camera.Y = 0;
            SpriteManager.Camera.Z = 40;
		}

		public void CustomActivity(bool firstTimeCalled)
		{
            if (firstTimeCalled)
            {
                timeCalled = TimeManager.CurrentTime;
            }
            if (TimeManager.CurrentTime - timeCalled > 3)
            {

                MoveToScreen(typeof(WinRos_Xna.Screens.TitleScreen).FullName);
                

            }

		}

		public void CustomDestroy()
		{


		}

        private static void CustomLoadStaticContent(string contentManagerName)
        {


        }

	}
}
